package inter_home;

/**
 * @classname:StudentTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/3 21:35
 * @version: 0.1
 * @since:1.8
 */
public class StudentTest {
    public static void main(String[] args) {
        PutongStu putongStu = new PutongStu("张三", 1);
        MoneyStu moneyStu = new MoneyStu("李四", 2);
        System.out.println(putongStu.getName());
        putongStu.study();
        System.out.println(moneyStu.getName());
        moneyStu.study();
        moneyStu.getMoney();
    }
}
